@media screen and (max-width: 991px){
    // .navbar-collapse{
    //     position: fixed;
    //     display: block;
    //     top: 0;
    //     height: 100vh !important;
    //     width: 300px;
    //     right: 0;
    //     z-index: 1032;
    //     visibility: visible;
    //     background-color: #999;
    //     overflow-y: visible;
    //     border-top: none;
    //     text-align: left;
    //
    //     max-height: none !important;
    //
    //     @include transform-translate-x(300px);
    //     @include transition (0.50s, cubic-bezier(0.685, 0.0473, 0.346, 1));
    //
    //     .nav-open &{
    //         @include transform-translate-x(0px);
    //     }
    //
    //     &:before{
    //         background: $brand-primary; /* For browsers that do not support gradients */
    //         background: -webkit-linear-gradient($brand-primary 0%, #000 80%); /* For Safari 5.1 to 6.0 */
    //         background: -o-linear-gradient($brand-primary 0%, #000 80%); /* For Opera 11.1 to 12.0 */
    //         background: -moz-linear-gradient($brand-primary 0%, #000 80%); /* For Firefox 3.6 to 15 */
    //         background: linear-gradient($brand-primary 0%, #000 80%); /* Standard syntax (must be last) */
    //         @include opacity(.76);
    //
    //         display: block;
    //         content: "";
    //         position: absolute;
    //         width: 100%;
    //         height: 100%;
    //         top: 0;
    //         left: 0;
    //         z-index: -1;
    //     }
    //
    //     .navbar-nav:not(.navbar-logo){
    //         .nav-link {
    //             margin: 0 1rem;
    //             color: $white-color;
    //         }
    //     }
    //
    //     .menu-on-left &{
    //         right: auto;
    //         left: 0;
    //         @include transform-translate-x(-300px);
    //     }
    // }

    .profile-photo .profile-photo-small{
        margin-left: -2px;
    }

    // [class*="navbar-toggleable-"] .navbar-collapse{
    //     width: 300px;
    // }

    .button-dropdown{
        display: none;
    }

    .navbar{
        .navbar-brand{
            padding-top: .5rem;
            padding-bottom: .5rem;
        }

        .navbar-nav{
            .nav-link{
                padding-top: 0.75rem;
                padding-bottom: .75rem;
            }

            &.navbar-logo{
                top: 0;
                height: 53px;
            }
        }

        .dropdown.show .dropdown-menu{
            display: block;
        }

        .dropdown .dropdown-menu{
            display: none;
        }

        .dropdown.show .dropdown-menu,
        .dropdown .dropdown-menu{
            background-color: transparent;
            border: 0;
            transition: none;
            -webkit-box-shadow: none;
            box-shadow: none;
            width: auto;
            margin: 0 1rem;
            margin-top: -18px;

            &:before{
                display: none;
            }
        }

        .dropdown-menu .dropdown-item:focus,
        .dropdown-menu .dropdown-item:hover{
            color: $white-color;
        }

        &.bg-white .dropdown-menu .dropdown-item:focus,
        &.bg-white .dropdown-menu .dropdown-item:hover{
            color: $default-color;
        }

        // .navbar-translate{
        //     width: 100%;
        //     position: relative;
        //     @include transform-translate-x(0px);
        //     @include transition (0.50s, cubic-bezier(0.685, 0.0473, 0.346, 1));
        // }

        .navbar-toggler-bar{
            display: block;
            position: relative;
            width: 22px;
            height: 1px;
            border-radius: 1px;
            background: $white-bg;

            & + .navbar-toggler-bar{
                margin-top: 7px;
            }

            & + .navbar-toggler-bar.navbar-kebab{
                margin-top: 3px;
            }

            &.bar2{
                width: 17px;
                transition: width .2s linear;
            }
        }

        &.bg-white:not(.navbar-transparent) .navbar-toggler-bar{
            background-color: $default-color;
        }

        & .toggled .navbar-toggler-bar{
            width: 24px;

            & + .navbar-toggler-bar{
                margin-top: 5px;
            }
        }

    }

    .wrapper{
        @include transition (0.50s, cubic-bezier(0.685, 0.0473, 0.346, 1));
    }

    .menu-on-left .navbar-brand{
        float: right;
        margin-right: 0;
        margin-left: 1rem;
    }

    .nav-open{
        .main-panel{
            right: 0;
            @include transform-translate-x(260px);
        }

        .sidebar{
            @include transform-translate-x(0px);
        }

        body{
            position: relative;
            overflow-x: hidden;
        }

        // .navbar-translate{
        //     @include transform-translate-x(-300px);
        // }

        .menu-on-left{
            .navbar-collapse{
                @include transform-translate-x(0px);
            }

            .navbar-translate{
                @include transform-translate-x(300px);
            }

            .wrapper{
                @include transform-translate-x(150px);
            }

            #bodyClick{
                right: auto;
                left: 300px;
            }
        }
    }

    .bar1,
    .bar2,
    .bar3 {
      outline: 1px solid transparent;
    }
    .bar1 {
      top: 0px;
      @include bar-animation($topbar-back);
    }
    .bar2 {
      opacity: 1;
    }
    .bar3 {
      bottom: 0px;
      @include bar-animation($bottombar-back);
    }
    .toggled .bar1 {
      top: 6px;
      @include bar-animation($topbar-x);
    }
    .toggled .bar2 {
      opacity: 0;
    }
    .toggled .bar3 {
      bottom: 6px;
      @include bar-animation($bottombar-x);
    }

    @include topbar-x-rotation();
    @include topbar-back-rotation();
    @include bottombar-x-rotation();
    @include bottombar-back-rotation();

    @-webkit-keyframes fadeIn {
      0% {opacity: 0;}
      100% {opacity: 1;}
    }
    @-moz-keyframes fadeIn {
      0% {opacity: 0;}
      100% {opacity: 1;}
    }
    @keyframes fadeIn {
      0% {opacity: 0;}
      100% {opacity: 1;}
    }

    #bodyClick{
        height: 100%;
        width: 100%;
        position: fixed;
        opacity: 1;
        top: 0;
        right: 0;
        left: 300px;
        content: "";
        z-index: 9999;
        overflow-x: hidden;
        background-color: transparent;
        @include transition (0.50s, cubic-bezier(0.685, 0.0473, 0.346, 1));
    }

    .footer{
        .copyright{
            text-align: right;
        }
    }

    .section-nucleo-icons .icons-container{
        margin-top: 65px;
    }

    .navbar-nav{
        .nav-link{
            i.fa,
            i.now-ui-icons{
                opacity: .5;
            }
        }
    }

    .sidebar,
    .bootstrap-navbar {
        position: fixed;
        display: block;
        top: 0;
        height: 100%;
        width: 260px;
        right: auto;
        left: 0;
        z-index: 1032;
        visibility: visible;
        overflow-y: visible;
        padding: 0;

        @include transform-translate-x(-260px);

        .user{
            .photo{
                width: 50px;
                height: 50px;
                border-width: 2px;
            }
        }


        // .navbar-form{
        //     float: none !important;
        //     margin: $margin-base 0 0 0;
        //
        //     .input-group{
        //         width: 100%;
        //
        //         .form-control{
        //             background: rgba(255,255,255,.13);
        //             border-radius: 0 $border-radius-base $border-radius-base 0;
        //             padding-left: 0;
        //             padding-right: 0;
        //             color: $white-color;
        //
        //             &:focus{
        //                 background: rgba(255,255,255,.23);
        //             }
        //         }
        //
        //     }
        //
        //     .input-group-addon,
        //     .input-group-focus .input-group-addon{
        //         color: #FFFFFF;
        //         padding: 0 20px;
        //         background: rgba(255,255,255,.13);
        //         border-radius: $border-radius-base 0 0 $border-radius-base;
        //     }
        //
        //     .input-group-focus .input-group-addon{
        //         background: rgba(255,255,255,.23);
        //     }
        // }
        //
        // .nav-mobile-menu{
        //     border-bottom: 1px solid rgba($white-color, 0.20);
        //     margin-bottom: $margin-base;
        //     padding-bottom: $margin-base;
        //     padding-top: 5px;
        //
        //     i{
        //         font-size: 18px;
        //     }
        //
        //     .notification{
        //         float: left;
        //         line-height: 30px;
        //         margin-right: 8px;
        //         font-weight: 600;
        //     }
        //
        //     .open .dropdown-menu{
        //         position: static;
        //         float: none;
        //         width: auto;
        //         margin-top: 0;
        //         background-color: transparent;
        //         border: 0;
        //         -webkit-box-shadow: none;
        //         box-shadow: none;
        //     }
        //
        //     .dropdown-menu{
        //         li{
        //             a{
        //                 padding-left: 60px;
        //             }
        //         }
        //     }
        //
        //     .dropdown-with-icons{
        //         li{
        //             a{
        //                 padding-left: 15px;
        //             }
        //         }
        //     }
        // }
        //
        // .dropdown-with-icons{
        //     > li > a{
        //         padding-left: $padding-default-horizontal;
        //         padding-top: 2px;
        //         padding-bottom: 2px;
        //     }
        //
        //     .dropdown-menu i[class^="pe-"]{
        //         width: 30px;
        //     }
        // }


        .dropdown-menu:after,
        .dropdown-menu:before{
            display: none;
        }

    }

    .main-panel{
        width: 100%;
    }
}

@media screen and (min-width: 992px){
    .navbar-collapse{
        background: none !important;
    }

    .table-responsive {
        overflow: visible;
    }

    .navbar.fixed-top{
        width: $sidebar-width;
        right: 0;
        left: auto;
    }

    .navbar-nav{
        .nav-link{
            &.profile-photo{
                padding: 0;
                margin: 7px $padding-base-horizontal;
            }
        }
    }

    .section-nucleo-icons .icons-container{
        margin: 0 0 0 auto;
    }

    .dropdown-menu .dropdown-item{
        color: inherit;
    }

    .footer{
        .copyright{
            float: right;
        }
    }
}

@media screen and (max-width: 768px){
    .nav-tabs{
        display: inline-block;
        width: 100%;
        padding-left: 100px;
        padding-right: 100px;
        text-align: center;

        .nav-item > .nav-link{
            margin-bottom: 5px;
        }
    }

    .footer{
        nav{
            display: block;
            margin-bottom: 5px;
            float: none;
        }
    }

    .landing-page .section-story-overview .image-container:nth-child(2){
        margin-left: 0;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 576px){
    .navbar[class*='navbar-toggleable-'] .container{
        margin-left: 0;
        margin-right: 0;
    }

    .footer{
        .copyright{
            text-align: center;
        }
    }

    .section-nucleo-icons{
        .icons-container{
            i{
                font-size: 30px;

                &:nth-child(6){
                    font-size: 48px;
                }
            }
        }
    }

    .page-header{
        .container h6.category-absolute{
            width: 90%;
        }
    }
}
